{% extends 'base.html' %}
{% block title %}
Login
{%endblock%}

{% block content %}
<body class="text-center">
    <div class="container">
        <form method="POST" class="form-signin" style="color:white">
            {{ form.hidden_tag() }}
            <h1 class="mb-3 h3 font-weight-normal">Please Login</h1>
            <br>
            {{ form.username.label() }}
            {{ form.username(class="form-control",placehoder="User name")}}
            
            {{ form.password.label() }}
            {{ form.password(class="form-control",placeholder="Password")}}
            <br>
            <div class="checkbox mb-3">
                <h6>Do not have an Account</h6>
                <a class="btn btn-sm btn-secondary" href="{{ url_for('register_page') }}">Register</a>
            </div>
            {{ form.submit(class="btn btn-lg btn-block btn-primary")}}
        </form>
    </div>
</body>
{%endblock%}
